/**
 * 
 */
package com.lifeware.research.endo.controllers;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import com.lifeware.research.endo.services.MalattieService;

/**
 * <p>Contiene le informazioni comuni ai controllori delle malattie.
 * </p>
 * 
 * @author  Riccardo Cardin, (C) 2012 Lifeware
 * @version 1.0
 */
@Controller
public abstract class AbsMalattieController implements IMalattieController {

	private static final String PAZIENTE_INSERT_RESOURCE = "/paziente/insert";
	
	protected static final String PAZIENTE_DETTAGLIO_PATH = 
			"/paziente/cerca";
	
	@Autowired
	protected MalattieService malattieService;

	public MalattieService getMalattieService() {
		return malattieService;
	}

	public void setMalattieService(MalattieService malattieService) {
		this.malattieService = malattieService;
	}
	
	public final String getRedirectResourceInsertPaziente() {
		
		return PAZIENTE_INSERT_RESOURCE;
	}
}
